﻿@using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using System.Net.Http.Json
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.SignalR.Client
@using Iot
@using Iot.Components
@using Iot.Models
@using Iot.Services
@using MudBlazor
@using MudBlazor.Services

@attribute [Authorize(Policy = "Admin")]